package com.probox.customer.api.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.probox.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户信息对象 customer_info
 *
 * @author zsy
 * @date 2021-05-25
 */
@Data
@ApiModel(description="客户信息类")
public class CustomerInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 会员ID
     */
    //默认主键自增
    @ApiModelProperty(value = "会员ID")
    @TableId(value = "CUSTOMER_UID", type = IdType.AUTO)
    private Long customerUid;
    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称")
    @Excel(name = "客户名称")
    private String customerName;
    /**
     * 头像
     */
//    @Excel(name = "头像")
    @ApiModelProperty(value = "头像")
    private String headImage;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    @Excel(name = "手机号码")
    private String phone;
    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人")
    @Excel(name = "联系人")
    private String contactMan;

    /**
     * 性别 1男，0女
     */
    @ApiModelProperty(value = "性别")
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;
    /**
     * 国籍
     */
    @ApiModelProperty(value = "国籍")
    @Excel(name = "国籍")
    private String nation;
    /**
     * 省份
     */
    @ApiModelProperty(value = "省份")
    @Excel(name = "省份")
    private String province;
    /**
     * 省份Code
     */
//    @Excel(name = "省份Code")
    @ApiModelProperty(value = "省份Code")
    private String provinceCode;
    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    @Excel(name = "城市")
    private String city;
    /**
     * 城市Code
     */
//    @Excel(name = "城市Code")
    @ApiModelProperty(value = "城市Code")
    private String cityCode;
    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    @Excel(name = "区域")
    private String area;
    /**
     * 区域Code
     */
//    @Excel(name = "区域Code")
    @ApiModelProperty(value = "区域Code")
    private String areaCode;

    /**
     * 平台ID
     */
//    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID")
    private Long platformUid;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * 创建人
     */
//    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private Long createUser;
    /**
     * 修改人
     */
//    @Excel(name = "修改人")
    @ApiModelProperty(value = "修改人")
    private Long updateUser;
    /**
     * 状态 1有效 0无效
     */
//    @Excel(name = "状态 1有效 0无效")
    @ApiModelProperty(value = "状态")
    private String status;
    /**
     * 推荐关系，用/串联的ID集合
     */
//    @Excel(name = "推荐关系，用/串联的ID集合")
    @ApiModelProperty(value = "推荐关系")
    private String parentTree;
    /**
     * 父级ID
     */
//    @Excel(name = "父级ID")
    @ApiModelProperty(value = "父级ID")
    private Long fatherUid;
    /**
     * 祖级ID
     */
//    @Excel(name = "祖级ID")
    @ApiModelProperty(value = "祖级ID")
    private Long grandFatherUid;
    /**
     * 客户类型
     */
//    @Excel(name = "客户类型")
    @ApiModelProperty(value = "客户类型")
    private String customerType;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    @Excel(name = "详细地址")
    private String addressDetail;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    @Excel(name = "创建人名称")
    private String createName;

    /**
     * 修改人名称
     */
    @ApiModelProperty(value = "修改人名称")
    @Excel(name = "修改人名称")
    private String updateName;
}
